import type { pageRoutesType } from '@model/types/PageRoutes'
import { ModuleEnum } from './ModuleEnum'
const customerOperationNginx = ModuleEnum.CustomerOperation

// 新建活动调研
export const pageCustomerExperienceActivityResearchCreate: pageRoutesType = {
  id: 'customer_experience_activity_research_create',
  type: 'customerExperienceActivityResearchCreate',
  url: `${customerOperationNginx}/customerExperience/activityResearch/create`,
  title: '新建活动调研'
}

// 活动调研详情
export const pageCustomerExperienceActivityResearchView: pageRoutesType = {
  id: 'customer_experience_activity_research_view',
  type: 'customerExperienceActivityResearchView',
  url: `${customerOperationNginx}/customerExperience/activityResearch/view`,
  title: '活动调研详情',
  titleParams: true,
  idParams: true
}

// 编辑活动调研
export const pageCustomerExperienceActivityResearchEdit: pageRoutesType = {
  id: 'customer_experience_activity_research_edit',
  type: 'customerExperienceActivityResearchEdit',
  url: `${customerOperationNginx}/customerExperience/activityResearch/edit`,
  title: '编辑活动调研',
  idParams: true,
}

// 预览调研模板
export const pageQuestionnaireSchemePreview: pageRoutesType = {
  id: 'questionnaire_scheme_preview',
  type: 'questionnaireSchemePreview',
  url: `${customerOperationNginx}/preview`,
  title: '预览调研模板',
  idParams: true,
}

// 编辑调研模板
export const pageQuestionnaireSchemeEdit: pageRoutesType = {
  id: 'questionnaire_scheme_edit',
  type: 'questionnaireSchemeEdit',
  url: `${customerOperationNginx}/customerExperience/questionnaireScheme/edit`,
  title: '编辑调研模板',
  urlParams: true,
}

// 新建调研模板
export const pageQuestionnaireSchemeCreate: pageRoutesType = {
  id: 'questionnaire_scheme_create',
  type: 'questionnaireSchemeCreate',
  url: `${customerOperationNginx}/customerExperience/questionnaireScheme/create`,
  title: '新建调研模板',
}

// 自动提醒设置
export const pageCustomerRemind: pageRoutesType = {
  id: `CUSTOMER_REMIND`,
  type: 'pageRoutesType',
  url: `${customerOperationNginx}/setting/customer/remind`,
  title: '自动提醒设置',
}